import Vue from 'vue'
import Router from 'vue-router'
import list from '@/components/list'
import additem from '@/components/additem'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [{
    path: '/',
    name: 'list',
    component: list
  }, {
    path: '/list',
    name: 'list',
    component: list
  }, {
    path: '/additem',
    name: 'additem',
    component: additem
  }]
})
